package jonet

import "net"

type ITcpAcceptor interface {
	Accept(conn *net.TCPConn)
	OnError(err error)
	OnData(data []byte)
}

type TcpAcceptor struct {
	tcpConn *net.TCPConn
}

func (a *TcpAcceptor) Accept(conn *net.TCPConn) {

}
